package com.itaming.lycheeframework.bootstrap;

import org.springframework.boot.SpringApplication;
import org.springframework.core.env.ConfigurableEnvironment;

/**
 * 环境处理器接口
 *
 * @author A.Ming
 */
public interface EnvironmentProcessor {

    /**
     * 处理环境
     *
     * @param environment 环境对象
     * @param application 应用对象
     */
    void process(ConfigurableEnvironment environment, SpringApplication application);

}
